Skip to main content

Dimension shot

Result
Loading...
Live Editor
<cylindo-viewer customer-id="5098" code="ARMCHAIR-PDP">
  <cylindo-dimension-shot dimension-code="UXPP" unit="cm"></cylindo-dimension-shot>
</cylindo-viewer>

Dynamic shots and geometry changes

If the dimension-code attribute is omitted, the viewer displays the default dimension shot from the content API. This makes it easier to use with feature and option pairs that introduce geometry changes to a product.

As shown in the example below, this is now resolved automatically when configured on the CMS (e.g., when toggling an ottoman feature on or off).

To setup dynamic shots on the CMS, contact your customer representative.

<cylindo-viewer
customer-id="5098"
code="CONFIGURABLE-SECTIONAL-PDP"
configuration="OTTOMAN:off"
>
<cylindo-dimension-shot />
</cylindo-viewer>

Props

NameTypedefaultDescription
dimension-codestringundefinedThe dimension shot code. You can find this in the CMS
unitstringundefinedThe unit of the shot (cm, mm, in). You can find this in the CMS